//
// Created by 32827 on 2024/1/26.
//

#ifndef YZGD32_YZL_MEM_H
#define YZGD32_YZL_MEM_H
#include "yz.h"
#include "string.h"

typedef struct {
    uint32_t baseAddress;
    uint32_t endAddress;
} YZL_MEM_BLOCK;

///用于和UI库配合
void yzl_mem_init(YZ_MemManger* pMemManger);
void* yzl_mem_malloc(size_t size);
void yzl_mem_free(void* ptr);
void yzl_mem_zip();
#endif //YZGD32_YZL_MEM_H
